# -*- coding: utf-8 -*-
# __author__ : Ricky
# __createTime__ : 2022/1/23 18:28
# __fileName__ : py contact.py
# __devIDE__ : PyCharm
from kam_op.base import OpBase

"""
/contact/top	置顶联系人
/contact/untop	取消置顶联系人
/contact/head_img	获取联系人头像
"""
class Contact(OpBase):
    prefix = "contact"

    def topContact(self,data):
        return self.dispatchMsg("top", data)
    def unTopContact(self,data):
        return self.dispatchMsg("untop", data)
    def getHeadImg(self,data):
        return self.dispatchMsg("head_img", data)